<%@page import="helpers.StringHelper"%>
<%@page import="entities.Page"%>
<%
Page pages = (Page) request.getAttribute("page");

//Value for seo
String title = "WikiMedical: " + pages.getTitle();
String description = pages.getTitle() + " in WikiMedical";

%>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>

<jsp:include page="/layouts/header.jsp">
	<jsp:param name="title" value="<%=title %>" />
    <jsp:param name="description" value="<%=description %>" />
    <jsp:param name="ogtitle" value="<%=title %>" />
    <jsp:param name="ogdescription" value="<%=description%>" />
</jsp:include>

	<div class="row-fluid">
	  <div class="span12">
	    <div class="row-fluid">
	      <div class="span9">
	      	<div id="topic_content">
				<%=pages.getContent() %>
			</div>
	      </div>
	      <div class="span3 pagination-centered">
	      	  <jsp:include page="/elements/right.jsp" />
	      </div>
	    </div>
	  </div>
	</div>

<jsp:include page="/layouts/footer.jsp" />